﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Domain.StatementManage
{
    /// <summary>
    /// 盘点台账表
    /// </summary>
    public class InventoryLedger : KeyEntity
    {
        /// <summary>
        /// 盘点单号
        /// </summary>
        [MaxLength(30)]
        public string? LnventoryNumber { get; set; }
        /// <summary>
        /// 盘点类型
        /// </summary>
        [MaxLength(20)]
        public string? LnventorType { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        [MaxLength(100)]
        public string? StorageLocationType { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        [MaxLength(20)]
        public string? ProductName { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int Number { get; set; }
        /// <summary>
        /// 盘点数量
        /// </summary>
        public int PhysicalInventory { get; set; }
        /// <summary>
        /// 盘点盈亏
        /// </summary>
        [MaxLength(50)]
        public string? ProfitLoss { get; set; }
        /// <summary>
        /// 盘点时间
        /// </summary>
        public DateTime LnventoryTime { get; set; }
    }
}
